Data Preparation

Init theme

Read and populate csv. Updates it with missing games as well. ALWAYS RUN WHOLE CHUNK OF CODE TO AVOID DUPLICATES

Convert Ids from numbers to readable english

Generate gameLength column

Remove all games less than 21 seconds

Create set called datTourney, which is more specific with what counts as a game

Creat datBestchars

Basic Game Stats

Number of games: 229

Number of ‘tourney’ games: 134

Average game length: 128 seconds

Stages

Gabe

Percent of ’tourney games Gabe

Gabe’s Chars (All)

Gabe’s Chars (Tourney)

Owen

Number of takedowns on Gabe’s G&W: 5

Number of traditional ironmans won: 0

Percent of ‘tourney’ games Owen goes even in neutral: 55.2

Owen’s Chars (All)

Owen’s Chars (Tourney)

All Summary Stats

Tourney

Featuring:

  • Gabe as “Red Curve”
  • Owen as "Blue Curve
  • Dotted Line as “Mean”

Best Characters Only

Somehow print 2 plots at the same time in a grid.

Featuring:

  • Gabe as “Red Curve”
  • Owen as "Blue Curve
  • Dotted Line as “Mean”

https://www.rdocumentation.org/packages/ggplot2/versions/1.0.0/topics/aes_string

Winrates

Gabe’s Chars

Owen’s Chars

Matchups

Winrates by matchup

Stages

stageId Number of Games Gabe’s Winrate Owen’s Winrate
Battlefield 56 71.4 28.6
Dream Land N64 30 60.0 40.0
Final Destination 63 50.8 49.2
Fountain of Dreams 23 60.9 39.1
Pokemon Stadium 26 50.0 50.0
Yoshi’s Story 31 48.4 51.6

Game Length

Filtered to be more valid:

  • 4 stock games
  • Games longer than 30 seconds
  • More than 150 total damage dealt

Grouped Histograms

by stage

by Owen’s spacies

by Gabe’s Falcon

Regressions!

##  [1] "slpVersion"                  "isTeams"                    
##  [3] "isPal"                       "stageId"                    
##  [5] "startAt"                     "lastFrame"                  
##  [7] "playableFrameCount"          "consoleNick"                
##  [9] "playedOn"                    "winningPlayer"              
## [11] "p1Index"                     "p1Port"                     
## [13] "p1CharacterId"               "p1CharacterColor"           
## [15] "p1StartStocks"               "p1Type"                     
## [17] "p1TeamId"                    "p1ControllerFix"            
## [19] "p1Nametag"                   "p2Index"                    
## [21] "p2Port"                      "p2CharacterId"              
## [23] "p2CharacterColor"            "p2StartStocks"              
## [25] "p2Type"                      "p2TeamId"                   
## [27] "p2ControllerFix"             "p2Nametag"                  
## [29] "p1WavedashCount"             "p1WavelandCount"            
## [31] "p1AirdodgeCount"             "p1DashDanceCount"           
## [33] "p1SpotDodgeCount"            "p1RollCount"                
## [35] "p1InputCount"                "p1ConversionCount"          
## [37] "p1TotalDamage"               "p1KillCount"                
## [39] "p1SuccessfulConversionRatio" "p1InputsPerMinute"          
## [41] "p1OpeningsPerKill"           "p1DamagePerOpening"         
## [43] "p1NeutralWinRatio"           "p1CounterHitRatio"          
## [45] "p1BeneficialTradeRatio"      "p2WavedashCount"            
## [47] "p2WavelandCount"             "p2AirdodgeCount"            
## [49] "p2DashDanceCount"            "p2SpotDodgeCount"           
## [51] "p2RollCount"                 "p2InputCount"               
## [53] "p2ConversionCount"           "p2TotalDamage"              
## [55] "p2KillCount"                 "p2SuccessfulConversionRatio"
## [57] "p2InputsPerMinute"           "p2OpeningsPerKill"          
## [59] "p2DamagePerOpening"          "p2NeutralWinRatio"          
## [61] "p2CounterHitRatio"           "p2BeneficialTradeRatio"     
## [63] "sourceFile"                  "gameLength"
## 
## Call:
## NULL
## 
## Deviance Residuals: 
##     Min       1Q   Median       3Q      Max  
## -1.8033  -0.9077  -0.1976   0.8689   3.4888  
## 
## Coefficients:
##                   Estimate Std. Error z value Pr(>|z|)    
## (Intercept)       -0.08014    0.65783  -0.122 0.903043    
## p2NeutralWinRatio  3.74208    1.11209   3.365 0.000766 ***
## p2OpeningsPerKill -0.59979    0.10610  -5.653 1.58e-08 ***
## p2SpotDodgeCount  -0.05307    0.07169  -0.740 0.459126    
## p2RollCount        0.01177    0.07472   0.157 0.874870    
## p2ConversionCount  0.09795    0.03537   2.769 0.005619 ** 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for binomial family taken to be 1)
## 
##     Null deviance: 286.79  on 207  degrees of freedom
## Residual deviance: 218.20  on 202  degrees of freedom
## AIC: 230.2
## 
## Number of Fisher Scoring iterations: 5